<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2023/7/18
  Time: 10:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--引入jqueyr--%>
<script src="webjars/jquery/3.6.4/jquery.min.js"></script>
<%--引入bs的样式库--%>
<link rel="stylesheet" href="webjars/bootstrap/3.4.1/css/bootstrap.min.css">
<%--引入bs的js库--%>
<script src="webjars/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<style>
    .container{
        margin-top: 50px;
        width: 500px;
    }
    input{
        margin-bottom: 10px;
    }
</style>
<html>
<head>
    <title>用户登录</title>
</head>
<body>
<div class="container">

    <div class="panel panel-primary">
        <div class="panel-heading">用户登录</div>
        <div class="panel-body">
            <form class="form-signin" method="post" action="/user?cmd=login">
                <input type="text" class="form-control" name="username" placeholder="请输入用户名" required autofocus>
                <input type="password" class="form-control" name="password" placeholder="请输入密码" required>
                <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
            </form>
            <span style="color:red;margin-left: 20px;">${msg}</span>
        </div>

        <div class="panel-footer text-right">合众艾特2023.</div>
    </div>

</div>

</body>
</html>
